<?php

namespace App\Events;


class ClassInEvent extends Event
{
    const WAKEUP = 11;
    # calssin 账号
    public $telephone;
    public $classId;
    public $courseId;

    private $result;

    /**
     * ClassInEvent constructor.
     * @param $action
     * @param $telphone
     * @param $courseId
     * @param $classId
     */
    public function __construct($action, $telphone, $classId, $courseId)
    {
        parent::__construct();

        $this->result = '';
        $this->action = $action;
        $this->classId = $classId;
        $this->courseId = $courseId;
        $this->telephone = $telphone;
    }

    public function setResult($result)
    {
        $this->result = $result;
    }

    public function getResult()
    {
        return $this->result;
    }


}
